export default (app) => {
  app.config.globalProperties.$http = 'http';
  app.directive('color', {
    created(el, binding) {
      el.style.color = binding.value || 'red'
    }
  })
}